package org.qiyu.live.account.interfaces;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2024-04-24 下午8:31
 */
public interface IAccountTockenRPC {
    /**
     * @Description:创建一个登录token
     * @Author: 张广焱
     * @Date: 2024-04-27  02:29:14
     */
    String createAndSaveLoginToken(Long userId);

    /**
     * @Description:校验用户token
     * @Author: 张广焱
     * @Date: 2024-04-27  02:29:41
     */
    Long getUserIdByToken(String token);
}
